package org.zfes.snowier.zbss.xzy.biz.device.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.apache.ibatis.annotations.Param;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.zbss.xzy.biz.device.model.DeviceType;
import org.zfes.snowier.zbss.xzy.device.DeviceTypeDto;
public interface IDeviceTypeService{

	 Optional<DeviceType> loadDeviceTypeById(Long id);
	
	 void createDeviceType(DeviceType deviceType);
	
	 void updateDeviceType(DeviceType deviceType);

	 void deleteDeviceType(Long id);
	
	 DataSet loadDeviceTypeDataSet(Map<String, Object> params);
	 

 	void setDeviceTypeStatus(Long id, Byte status);
 	
 	List<DeviceType> loadAllDeviceType(Byte status);
 	
 	List<DeviceTypeDto> loadAllDeviceTypeModel(Byte status);
 	
 	
}